package com.aizhixin.lab.company.domain;

import java.util.Date;

import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class ClassesDomain {
	private Long id;
    @ApiModelProperty(value = "班级名称")
    private String name;
    @ApiModelProperty(value = "学生人数")
    private Integer stuNum;
    private Long collegeId;
    private String collegeName;
    private Long professionalId;
    private String professionalName;
	@ApiModelProperty(value = "创建时间")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@Temporal(TemporalType.TIMESTAMP)
	private Date createdDate;
}
